﻿using System;
using System.Collections.Generic;
using System.Text;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using DH.Core;
using RibbonMenu.Views;
namespace RibbonMenu
{
    public class RibbonModule : IModule
    {
        private readonly IRegionManager _regionManager;

        public RibbonModule(IRegionManager regionManager)
        {
            _regionManager = regionManager;
        }

        public void OnInitialized(IContainerProvider containerProvider)
        {
            _regionManager.RegisterViewWithRegion(RegionNames.Menu,typeof(RibbonWin));
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            //containerRegistry.RegisterForNavigation<>();
        }
    }
}
